home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5314 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  938 b 

  1. Path: cpmt.cyberport.net!usenet
  2. From: christmn@cyberport.net (Richard Christman)
  3. Newsgroups: comp.lang.c
  4. Subject: LoadLibrary Explicitly?
  5. Date: Sat, 10 Feb 1996 00:00:02 GMT
  6. Organization: Benchmark Software
  7. Message-ID: <4fgk1j$ibf@cpmt.cyberport.net>
  8. NNTP-Posting-Host: cpmt2.cyberport.net
  9. X-Newsreader: Forte Free Agent v0.55
  10.  
  11. Hi All,
  12.  
  13. I'm writing a windows setup proigram with bc3.1. I'm loading a dll
  14. that i don't know the location of until _after_ the program is
  15. running. I have the dll's .lib in my project file.
  16.  
  17. my problem is that the program is attempting to load the dll at
  18. startup and it is not in the path so the program fails with execution
  19. error 2 and goes no further.
  20.  
  21. I'd like to stop the program from automatically loading the dll and do
  22. it later myself with LoadLibrary. Of course, I know how to LoadLib.
  23. How do I stop the program from trying to load it at startup?
  24.  
  25. TIA
  26.  
  27. richard
  28. --
  29. Richard Christman
  30. Benchmark Software
  31.  
  32.